home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
byteibm.arc
/
HOGAN.ARC
/
LISTING3.TXT
< prev
next >
Wrap
Text File
|
1985-07-12
|
614b
|
13 lines
MOV AX, VARIABLE ; 3 bytes, 14 clocks
MOV CL, 4 ; 2 bytes, 4 clocks
SHL AX, CL ; 2 bytes, 24 clocks
MOV BX, AX ; 2 bytes, 2 clocks
SHL AX, 1 ; 2 bytes, 2 clocks
SHL AX, 1 ; 2 bytes, 6 clocks -- prefetch queue
; is empty before the instruction
; is executed
ADD AX, BX ; 2 bytes, 14 clocks -- 4 clocks/byte
; for the BIU to put the instruction
; in the queue plus 2 clocks to
; execute it